import Router from 'vue-router'
import { Component, Emit, Inject, Model, Prop, Provide, Vue, Watch } from 'vue-property-decorator'
import TcHeader from '@/controls/TcHeader.vue'
import TcScrollView from '@/controls/TcScrollView.vue'
import TcSegmentedControl from '@/controls/TcSegmentedControl.vue'

@Component({
  components: {
    TcHeader,
    TcScrollView,
    TcSegmentedControl
  }
})
export default class InformationPage extends Vue {
  height = '100%'

  list = [
    { name: '资讯', url: '/information/view' },
    { name: '日历', url: '/information/calendar' },
    { name: '非农', url: '/information/nonfarming' }
  ]

  mounted () {
    this.height = window.innerHeight + 'px'
  }
}
